﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="TMA.MODEL"
                   namespace="TMA.MODEL.Entity">

  <class name="Profile" table="dbo.Tbl_PerfilesUsuarios">
    <id name="Id_Profile" column="idPerfil" type="int">
      <generator class="identity"/>
    </id>
    <property name="Description" column="nmb" type="string" length="250"/>
    <property name="Id_User" column="usr" type="int" not-null="true"/>
    <property name="DateCreateRegistration" column="fcre" type="datetime"/>
    <property name="Id_UserModifyRegistration" column="usrm" type="int"/>
    <property name="DateModifyRegistration" column="fmod" type="datetime"/>
  </class>

</hibernate-mapping>  